package io;

import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;

public class FISDemo {
    public static void main(String[] args) throws IOException {
        FileInputStream fis=new FileInputStream("AAAAA.txt");
        int read = fis.read();
        System.out.println(read);
         read = fis.read();
        System.out.println(read);
         read = fis.read();
        System.out.println(read);
        read = fis.read();
        System.out.println(read);
        read=fis.read();
        System.out.println(read);
        read=fis.read();
        System.out.println(read);
        fis.close();
    }
}
